package com.example.xiaomi.service;
import com.example.xiaomi.entity.AdminInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface AdminService {

    PageInfo<AdminInfo> findAdminPages(Integer pageNum, Integer pageSize,String adminname);
    List<AdminInfo> findAllAdmin(String adminname);
    AdminInfo findAdminBYID(Integer adminid);

    Integer deleteBYID(Integer adminid);

    Integer updateAdmin(AdminInfo admin);

}
